<!--{subtemplate jameson_read:qidian/read_header}-->
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div class="uk-grid-collapse" uk-grid>
	<div class="uk-width-medium">
		<div class="back-box uk-padding-small">
			<ul uk-tab class="pl0">
			    <li><a href="javascript:;">{lang jameson_read:yuedubang}</a></li>
			    <li><a href="javascript:;">{lang jameson_read:xinshushangjia}</a></li>
			</ul>
			<ul class="uk-switcher uk-margin-remove uk-padding-remove">
				<li>
					<ul class="uk-margin-remove uk-padding-remove gonggao">
						{loop $paihangbang['yuedu'] $key $book}
						{if $key < 12}
							<li class="cl">
								<a class="channel xg1" href="{eval echo jamesonurl('category',$book['category_id'])}">
									<span>[</span>{$book['category_name']}<span>]</span>
								</a>
								<a class="name" href="{eval echo jamesonurl('book',$book['book_id']);}" >{$book['book_name']}</a>
							</li>
						{/if}
						{/loop}
					</ul>
				</li>
				<li>
					<ul class="uk-margin-remove uk-padding-remove gonggao">
						{loop $paihangbang['zuixin'] $key $book}
						{if $key < 12}
							<li class="cl">
								<a class="channel xg1" href="{eval echo jamesonurl('category',$book['category_id'])}">
									<span>[</span>{$book['category_name']}<span>]</span>
								</a>
								<a class="name" href="{eval echo jamesonurl('book',$book['book_id']);}" >{$book['book_name']}</a>
							</li>
						{/if}
						{/loop}
					</ul>
				</li>
			</ul>
			{if $adv[0]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[0]['adv']);}
			</div>
			{/if}
		</div>
	</div>
	<div class="uk-width-expand">
		<div class="uk-padding-small uk-margin-left back-box">
			{if $_G['jameson_read']['allowpostbook'] || ($hasdata && ($hasdata['status']==1))}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:wuxuzaicishenqing}</div>
			{elseif $hasdata && !$hasdata['status']}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:shenhezhong}</div>
			{elseif !$_G['uid']}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:qingxiandenglu}</div>
			{else}
				<div class="title_2">{lang jameson_read:shenqingzuozhe}</div>
				<form class="uk-form-stacked uk-margin-top" action="./plugin.php?id=jameson_read&contrl=index&act=shenqing" method="post">
					<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:zhenshixingming}</label>
				       <div class="uk-form-controls">
							<input type="text" required  class="uk-input"  name="xingming" id="xingming">
				       </div>
				   	</div>
				   	<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:lianxifangshi}</label>
				   		<div class="uk-form-controls">
							<input type="text" required class="uk-input" name="lianxi" id="lianxi">
				   		</div>
				   	</div>
				   	<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:fuyan}</label>
				   		<div class="uk-form-controls">
							<textarea id="fuyan"  name="fuyan" class="uk-textarea"></textarea>
				   		</div>
				   	</div>
					<input type="hidden" name="formhash" value="{FORMHASH}" />
					<div class="uk-margin">
						<button type="submit" class="uk-button uk-button-danger">{lang jameson_read:tijiao}</button>
					</div>
				</form>
			{/if}
		</div>
	</div>
</div>
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
<!--{subtemplate jameson_read:qidian/read_footer}-->